import request from "@/utils/request";

// 设备类型树查询
export function getTypeListTree(data) {
  return request({
    url: "/api/logistics/BasDeviceType/getListTree",
    method: "GET",
    data,
  });
}

// 设备类型查询
export function getTypeList(data) {
  return request({
    url: "/api/logistics/BasDeviceType/getList",
    method: "POST",
    data,
  });
}

// 设备查询
export function getList(data) {
  return request({
    url: "/api/logistics/BasDevice/getList",
    method: "POST",
    data,
  });
}

// 设备查询
export function getDataBase(data) {
  return request({
    url: "/api/logistics/BasDevice/getDataBase",
    method: "POST",
    data,
  });
}
